from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^movie/', include('movie.foo.urls')),

    # Uncomment this for admin:
    (r'^vote/', include('movie.vote.urls')),
    (r'^admin/', include('django.contrib.admin.urls')),
    (r'^accounts/login/$', 'django.contrib.auth.views.login'),
    (r'^accounts/logout/$', 'django.contrib.auth.views.logout_then_login'),
    (r'^accounts/new_user/$', 'movie.vote.views.new_user'),
    (r'^accounts/forgot_password/$', 'movie.vote.views.forgot_password'),
    (r'^accounts/password_reset/(?P<user>[^/]+)/(?P<id>[^/]+)/$', 'movie.vote.views.password_reset'),
    (r'^accounts/password_change/$', 'movie.vote.views.password_change'),
)
